<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="__ROOT__/statics/admin/css/style.css" rel="stylesheet" type="text/css"/>
<link href="__ROOT__/statics/css/dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/admin/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/dialog.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/plugins/formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/plugins/formvalidatorregex.js" charset="UTF-8"></script>
<script language="javascript">
var URL = '__URL__';
var ROOT_PATH = '__ROOT__';
var APP	 =	 '__APP__';
var lang_please_select = "<?php echo (L("please_select")); ?>";
</script>
<title><?php echo (L("website_manage")); ?></title>
</head>

<body>
<?php if(($sub_menu != '') OR ($big_menu != '')): ?><div class="subnav">
    <div class="content-menu ib-a blue line-x">
    	<?php if(!empty($big_menu)): ?><a class="add fb" href="<?php echo ($big_menu["0"]); ?>"><em><?php echo ($big_menu["1"]); ?></em></a>　<?php endif; ?>
        <?php if(!empty($sub_menu)): ?><?php if(is_array($sub_menu)): $key = 0; $__LIST__ = $sub_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): ++$key;$mod = ($key % 2 )?><?php if($key != '1'): ?><span>|</span><?php endif; ?>
        <a href="<?php echo u($val['c'].'/'.$val['a'], array('menuid'=>$val['id']));?>" <?php if($curr_menuid == $val['id']): ?>class="on"<?php endif; ?>><em><?php echo ($val["title"]); ?></em></a><?php endforeach; endif; else: echo "" ;endif; ?><?php endif; ?>
    </div>
</div><?php endif; ?>

<div class="pad_10">
<form action="<?php echo u('flink/edit');?>" method="post" name="myform" id="myform" enctype="multipart/form-data" >
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
    	<th></th><td><input type="hidden" name="id" value="<?php echo ($flink_info["id"]); ?>" /></td>
    </tr>
	<tr>
      <th width="100"><?php echo (L("flink_name")); ?> :</th>
      <td><input type="text" name="name" id="username" class="input-text" value="<?php echo ($flink_info["name"]); ?>" size=49></td>
    </tr>
    <tr>
      <th width="100" rowspan="2"><?php echo (L("flink_logo")); ?> :</th>
      <td><img src="__PUBLIC__/Uploads/m_<?php echo ($flink_info["logo"]); ?>" /></td>
    </tr>
    <tr>
      <td><input name="logo" id="logo" type="file" class="input-text" size=41/></td>
    </tr>
    <tr>
      <th width="100"><?php echo (L("flink_url")); ?> :</th>
      <td><input type="text" name="url" id="url" class="input-text" value="<?php echo ($flink_info["url"]); ?>"  size=49></td>
    </tr> 
    <tr>
      <th><?php echo (L("status")); ?> :</th>
      <td><select name="status">
      		<option value="1">已审核</option>
            <option value="0" <?php if($flink_info["status"] == 0): ?>selected="selected"
            	<?php else: ?>' '<?php endif; ?>
            >审核中</option>
          </select></td>
    </tr>
	<tr>
      <th width="100"><?php echo (L("sort_order")); ?> :</th>
      <td><input type="text" name="sort_order" id="sort_order" class="input-text" value="<?php echo ($flink_info["sort_order"]); ?>" size=8></td>
    </tr>
 </table>

<input type="submit" name="dosubmit" id="dosubmit" class="dialog" value="">
</form>
</div>
</body>
</html>